//
//  HRAllMingJiaCell.m
//  Economical report
//
//  Created by wyzc on 16/6/28.
//  Copyright © 2016年 叶落知秋. All rights reserved.
//

#import "HRAllMingJiaCell.h"
#import "HRAllMingJiaModel.h"
#import "UIImageView+WebCache.h"
@interface HRAllMingJiaCell ()
@property (weak, nonatomic) IBOutlet UIImageView *imgView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@end

@implementation HRAllMingJiaCell

-(void)setModel:(HRAllMingJiaModel *)model
{
    _model=model;
    _nameLabel.text=model.name;
    NSURL *url=[NSURL URLWithString:model.photo];
    [self.imgView sd_setImageWithURL:url placeholderImage:nil];
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

@end
